<div class="colone">
    <h2>SPI</h2>
    <p>The Serial Peripheral Interface Bus or SPI bus is a synchronous serial data link standard named by Motorola that operates in full duplex mode. Devices communicate in a master/slave mode where the master device initiates the data frame. Multiple slave devices are allowed with individual slave select (chip select) lines using a pin for each device. There is a wide availability of sensors that communicate using SPI as protocol. Check the examples included with the library.</p>
    <p>Including this library automatically defines constants for the pins involved: SS, SCK, MOSI, MISO, making it possible to use them in regular commands like: digitalWrite(SS, HIGH); For the physical location of these pins check the <a href="http://wiring.org.co/hardware/#specialfunctions">hardware reference</a>. On Wiring v1 boards the SPI pins are: SS=24, MOSI=25, MISO=26 and SCK=27. On Wiring S board the SPI pins are: SS=20, MOSI=21, MISO=22 and SCK=23.</p>
</div>

<div class="twocol"> 
  <p><span class="blink"><a href="SPI.html">SPI</a><br />
Wiring I/O board internal SPI.</span></p>
        
        <p><a href="SPI_begin_.html">begin()</a> <br />
  Starts SPI communication.</p>
        <p><a href="SPI_end_.html">end()</a><br />
  Stops SPI communication.</p>
        <p><a href="SPI_transfer_.html">transfer()</a><br />
      Exchanges bytes of data.<br />
    </p>
    <p><a href="SPI_setBitOrder_.html">setBitOrder()</a><br />
      Sets the bit order to use for SPI communication.<br />
    </p>
    <p><a href="SPI_setDataMode_.html">setDataMode()</a><br />
      Sets the SPI communication mode.<br />
    </p>
    <p><a href="SPI_setClockDivider_.html">setClockDivider()</a><br />
      Sets clockDivider for the SPI communication speed.<br />
    </p>
    <p><a href="SPI_attachInterrupt_.html">attachInterrupt()</a><br />
      Activate the SPI interrupt and attaches a function to be executed when the SPI transfer complete interruption is generated during communication.<br />
    </p>
    <p><a href="SPI_detachInterrupt_.html">detachInterrupt()</a><br />
      Deactivate the SPI interrupt and detaches the interruption function.<br />
    </p>

</div>

<div class="full">
<p></div>